package net.lahuobao.mall.entity.admin;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 商品规格值关心表
 * @author zhangdaihao
 * @date 2016-10-24 11:01:56
 * @version V1.0   
 *
 */
@Entity
@Table(name = "mall_product_spec_child", schema = "lahuobao")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class MallProductSpecChildEntity implements java.io.Serializable {
	/**id*/
	private java.lang.Integer id;
	/**productid*/
	private java.lang.Integer productid;
	/**categoryspecvalid*/
	private java.lang.Integer categoryspecvalid;
	/**productspecid*/
	private java.lang.Integer productspecid;
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  id
	 */
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name ="ID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  id
	 */
	public void setId(java.lang.Integer id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  productid
	 */
	@Column(name ="PRODUCTID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getProductid(){
		return this.productid;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  productid
	 */
	public void setProductid(java.lang.Integer productid){
		this.productid = productid;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  categoryspecvalid
	 */
	@Column(name ="CATEGORYSPECVALID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getCategoryspecvalid(){
		return this.categoryspecvalid;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  categoryspecvalid
	 */
	public void setCategoryspecvalid(java.lang.Integer categoryspecvalid){
		this.categoryspecvalid = categoryspecvalid;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  productspecid
	 */
	@Column(name ="PRODUCTSPECID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getProductspecid(){
		return this.productspecid;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  productspecid
	 */
	public void setProductspecid(java.lang.Integer productspecid){
		this.productspecid = productspecid;
	}
}
